package cn.cloud.all.security.web.savedrequest;

import javax.servlet.http.Cookie;
import java.util.Collection;
import java.util.List;
import java.util.Locale;
import java.util.Map;

public interface SavedRequest extends java.io.Serializable {

    /**
     * @return the URL for the saved request, allowing a redirect to be performed.
     */
    String getRedirectUrl();

    List<Cookie> getCookies();

    String getMethod();

    List<String> getHeaderValues(String name);

    Collection<String> getHeaderNames();

    List<Locale> getLocales();

    String[] getParameterValues(String name);

    Map<String, String[]> getParameterMap();
}
